<table style="width: 100%;" cellpadding="4" cellspacing="0">
<tr>
    <td class="border2">

        <table style="width: 100%;" class="mainmenu5" cellpadding="0" cellspacing="0" border="0">
        <tr>
            <td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
            <td class="block_header">{str_replace text="`top_itopcnt_battle_leaders`" iTopCnt="`$iTopCnt`" }</td>
        </tr>
        </table>

        <br />
        <table style="width:100%;" cellpadding="8" cellspacing="0">
        {foreach from=$aItems key=key item=aItem name=aitems}
            <tr{if $key % 2 == 0} class="border13"{/if}>
                <td style="text-align:left;vertical-align:middle;">
                    <table style="width:100%;">
                        <tr>
                            <td style="width:200px;text-align:center;font-size:8pt;" class="color">
                                <a href="{url link='public.gallery.view' id=$aItem.id}">
                                    {img src="`$sGImageUrl`thumb/`$aItem.id`.jpg" src_def='design/pic/noimage_120.jpg'}
                                </a>
                                <br />
                                <b>{language text="total_points"}:</b> {$aItem.faceoff}
                            </td>
                            <td style="vertical-align:top;font-size:8pt;" class="color">
                                <br />
                                <div style="font-size:10pt;"><b>#{$key+1}</b></div>
                                <br />
                                <b>{language text="posted_by_604"}</b>: <a href="{url link='public.user' name=$aItem.user}">{$aItem.user}</a>
                                <div style="padding-top:4px;"><b>{language text="title"}</b>: {$aItem.text}</div>
                                <div style="padding-top:4px;"><b>{language text="victories"}</b>: {$aItem.faceoff}</div>
                                <div style="padding-top:4px;"><b>{language text="views"}</b>: {$aItem.view}</div>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        {foreachelse}
            <tr>
                <td>
                    <div class="message_info">{language text="there_are_no_images_yet"}</div>
                </td>
            </tr>
        {/foreach}
        </table>
    </td>
</tr>
</table>